<template>
  <div class="my_header">
    <span><slot name="left"></slot></span>
    <section><slot name="center"></slot></section>
    <span><slot name="right"></slot></span>
  </div>
</template>

<script>
export default {};
</script>

<style lang='scss' scoped>
.my_header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  span {
    width: 80px;
    text-align: center;
  }
  section {
    flex: 1;
    text-align: center;
  }
}
</style>
